home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
mail
/
stripqwk.zip
/
STRIP.DOC
< prev
next >
Wrap
Text File
|
1991-12-23
|
4KB
|
78 lines
STRIP (C)1991 R.Janorkar
~~~~~~~~~~~~~~~~~~~~~~~~
Strip is a utiltity to modify QWK and REP mail packets
created by BBS off-line mail door/readers.
Strip allows you to replace existing text lines within such
packets with anything you may wish including Taglines, From,
To, Subject, or even the Reader/Door signature.
Strip requires a configuration file to run, this file must
contain the following lines -
\PATH\FILE.EXT
Search_String
Replace_string
Yes
FILE.EXT is the actual file that Strip will modify with the
entire path to the file. Search_string is the string that
will be changed - Replace_String is the string that it will
be changed to. Yes is mandatory for changing, it must be
there or the program will abort with an ERROR message. This
config file may be called anything - the name has to be
passed to Strip on the command line. Strip can be run
multiple times with different config files.
Note that Strip will NOT handle the actual QWK or REP
packet ! It can only handle the raw ASCII files that contain
the actual messages and are in the QWK or REP packet. Under
Tomcat this file is called MESSAGES.DAT in the QWK packet,
and from readers (e.g. SLMR) it bears the root name of the
REP packet with a MSG extension (e.g. PHOTO.REP will have
the file PHOTO.MSG in it).
You could process each packet manually - by unarchiving the
packet and running Strip, or set up your reader/door to do
this automatically.
Enclosed are two sample batch files for this job. You will
have to modify them with your correct paths.
Additionally you will have to set up your reader/door by
changing the archiver options. You can set up for processing
packets being RECEIVED (QWK) or SENT (REP). Assuming you are
using PKZIP/PKUNZIP, change the line in your reader/door
that says PKUNZIP <options> to UNZIP <options> for
processing QWK packets; and the line that says PKZIP
<options> to ZIP <options> for processing REP packets - or
both if needed. Then create or modify the config file for
Strip to suit your needs. Strip is now set up and you can
test it by simply using your mail reader as you normally
would ! In mail doors (like Tomcat) the files are the same
although to the mail door the QWK and REP definations are
reversed - the batch files are still the same though.
LIMITATIONS !
Strip will only replace existing lines in the packet. If the
replacement line is larger than the original, the overlap
WILL cover the characters following. However, if used for
Names or Subjects this will not be a problem. If the
replacement line is smaller than the original line, it would
be a good idea to pad the line with blanks in the config
file so the original line is totally masked.
Strip was written in Assembly, and is very fast. It only
uses about 64 K memory. It will run on anything from a 8088
to a 80486. Strip is (C)Copyright 1991 R.Janorkar, but you
are free to distribute it in it's original unmodified ZIP
form. Complaints, suggestions and comments are welcomed,
please call the Photographers Network BBS with them.
No warranties are made implied or otherwise about the
quality of this software, use it at your own risk. The
author is NOT responsible for this program's abilities or
disabilities, and the author is NOT responsible for any
damages to software or hardware.